﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="IE8ModoCompatibilidade.aspx.vb" Inherits="ProjetoDeTestes.IE8ModoCompatibilidade" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>=]</title>
    <script type="text/javascript">
        function mahooi() {
            //document.getElementById("Button2").setAttribute("style", "display:none");
            document.getElementById("Button2").style.cssText = "display:none;";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <a href="#" onclick="mahooi();">clica eu</a>
        <asp:Button ID="Button1" runat="server" Text="esconde" /><br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
        <asp:Button ID="Button2" runat="server" Text="tem que esconder/mostrar" />
    </div>
    </form>
</body>
</html>
